module.exports = {
  port: "3000",
  dest: "docs",
  base: "/",
  markdown: {
    externalLinks: {
      target: '_blank', rel: 'noopener noreferrer'
    }
  },
  locales: {
    "/": {
      lang: "zh-CN",
      title: "MyBatis-Kits",
      description: "提供极致的数据库 CRUD 体验"
    }
  },
  head: [["link", { rel: "icon", href: `/favicon.ico` }]],
  themeConfig: {
    repo: "yangjian102621/mybatis-kits",
    docsRepo: "yangjian102621/mybatis-kits-doc",
    editLinks: true,
    locales: {
      "/": {
        label: "简体中文",
        selectText: "Languages",
        editLinkText: "在 GitHub 上编辑此页",
        lastUpdated: "上次更新",
        nav: [
          {
            text: "指南",
            link: "/guide/"
          },
          {
            text: "配置",
            link: "/config/"
          },
          {
            text: "相关项目",
            items: [
              {
                text: "blockchain（Java 实现的区块链项目）",
                link: "https://gitee.com/blackfox/blockchain"
              },
              {
                text: "herosphp（PHP web 框架）",
                link: "https://gitee.com/blackfox/herosphp"
              },
              {
                text: "NKeditor（Web 编辑器）",
                link: "https://gitee.com/blackfox/NKeditor"
              },
              {
                text: "tio-spring-boot-starter",
                link: "https://gitee.com/blackfox/tio-starter"
              }
            ]
          },
          {
            text: "技术博客",
            link: "http://www.r9it.com"
          }
        ],
        sidebar: {
          "/guide/": [
            {
              title: "快速入门",
              collapsable: false,
              children: ["", "quick-start", "crud", "condition", "pagination", "transaction", "utils"]
            }
          ],
          "/config/": [
            {
              title: "配置",
              collapsable: false,
              children: [""]
            }
          ]
        }
      }
    }
  }
};

